home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer 2.0 / Internet Surfer 2.0 (Wayzata Technology) (1996).iso / pc / text / mac / faqs.350 < prev    next >
Text File  |  1996-02-12  |  28KB  |  679 lines

  1. Frequently Asked Questions (FAQS);faqs.350
  2.  
  3.  
  4.  
  5. QUESTION: How do I compute the numbers for the video modes?
  6.  
  7. ANSWER: See if there is an entry that matches your chip/monitor in
  8. XLIB/etc/modeDB.txt. Use the clock entries for your chip
  9. and the mode entry for that clock appropriate for your monitor.
  10. If you cant find a mode entry for a particular clock 'needed_clock'
  11. but can find a mode entry (for your monitor) for a nearby clock value
  12. 'found_clock', scale all numbers in the modeDB entry by
  13. (needed_clock/found_clock). man X386 and Read CONFIG and Xconfig.notes.
  14.  
  15.  
  16. QUESTION: How can I determine the clocks on the video chip?
  17.     Where can I find clock.exe or clock.pas ?
  18.  
  19. ANSWER: The XFREE Team discourages the use  of clocks.exe and wants it
  20. to be removed from all docs, since the new Server is better at
  21. guessing the clocks than clocks.exe.
  22.  
  23. You can get X to tell you what it finds by commenting the
  24. clocks entry in Xconfig. Use 'startx 2> x.err' to log the output.
  25. If X starts up this file gets the clocks only after you exit.
  26.  
  27. I strongly advise using the 'modegen' spreadsheets to generate the
  28. appropriate settings. If I remember correctly you can find them in
  29. 'pub/linux/packages/SLS/x4' called modegen.taz or something equally
  30. as obvious ... Good luck. (Andy asb@cs.nott.ac.uk)
  31.  
  32. The clocks entry in Xconfig serves as an index. example:
  33. clocks 1 2
  34. ModeDB
  35. 1 640x480 .....
  36. 2 800x600 .....
  37. means the first clock on the chip will be used for the 640x480 mode
  38. and so on. Usually one uses the MHz value for the clock for convenience
  39. instead of 1 2  you probably have 25 28 ... etc.
  40.  
  41.  
  42. QUESTION: What are the settings used with a trident-8900C?
  43.  
  44. ANSWER: To get X/SLS/Linux working with a trident-8900C, do the following:
  45.  
  46. 1) From Frank Houston fh8n@uvacs.cs.Virginia.EDU
  47. vga256
  48.   Virtual    1024 768
  49.   ViewPort      0 0
  50.   Modes            "1024x768" "800x600" "640x480"
  51. Use the VESA monitor timings from the modeDB in the example Xconfig.
  52. You do not need to specify the chipset or clocks.
  53.  
  54. 2) From: Henk Vandecasteele henkv@cs.kuleuven.ac.be
  55. TRIDENT TVGA 8900C card with BIOS C2.11, A cheap color monitor AOC (CM-335)
  56. with a maximum horizontal frequence of 39.5
  57. vga256
  58.   Virtual    1024 1024
  59.   ViewPort      0 0
  60.   Modes        "912x684" "800x600" "640x480"
  61. # This mode drives my monitor to the limit (VESA timings for the rest).
  62.  "912x684"     45      912  944 1104 1136    684  684  690  712
  63.  
  64.  
  65. QUESTION: What are common problems with Xconfig?
  66.  
  67. ANSWER:If X isn't firing at all, or even if it clears the screen and
  68. crashes (see below) you almost certainly have a fault in Xconfig.
  69.  
  70. 1. Note that the server X interprets Xconfig. (not xinit)
  71.  
  72. 2. If you have a fault in Xconfig it is possible to crash or hang the
  73. server without getting an error message.
  74.  
  75. 3. leave the two paths at the top of Xconfig commented out when testing.
  76.  
  77. 4. test with only one graphics mode included - one you are most sure of.
  78.  
  79. 5. If you make a mistake in the mouse section, you will (I understand)
  80. get an error message, so if you don't get some mouse error, try
  81. elsewhere first. (eg "No such file or directory" indicates you have a
  82. fault in the "/dev/ttyxx" line, or /dev/ttyxx doesn't exist.
  83.  
  84. 6. *NB* X looks in your home directory first to find an Xconfig. make
  85. certain it's using the one you've been working on!
  86.  
  87. 7. you need double quotes (") around your chipset and modes: eg
  88.     chipset "et4000"
  89.     Modes   "640x480" "640x480a" "800x600"
  90. and around the /dev/ttyxx eg.:
  91.     microsoft "/dev/ttys1"
  92.  
  93. 8. Check your VGA section and modeDB first.
  94.  
  95. 9. ensure ModeDB clock speeds match the VGA section. Comment out any
  96. unused lines in MODEDB.
  97.  
  98. eg  clocks  25 36 00 00 00 00 00 00
  99.  
  100. then you *must* have (and only have) lines under modeDB corresponding
  101. to speeds 25 and 36. If you have one with (say) 62 uncommented out in
  102. the modeDB section in place of the 36 line, you will cause the server to
  103. die immediately with no error message.
  104.  
  105. 10. a syntax error (such as an unrecognised word) in Xconfig will cause
  106. a death with no warning.
  107.  
  108. 11. videoram must equal the amount of display ram on your chip.
  109.  
  110.  
  111. QUESTION: What do I use in my Xconfig file to use the bus mouse?
  112. Logitech doesn't work with my Logitech busmouse.
  113.  
  114. ANSWER: (Nathan I. Laredo)
  115. Here are the mouse lines from my Xconfig:
  116.  
  117. BusMouse   "/dev/mouse"
  118.  
  119. You may add a sample rate if you want, but chances are, unless the model
  120. number on your mouse matches mine: PC-93-9MD it probably will cause your
  121. machine to lock up, as I've gotten several reports saying that.
  122.  
  123. According to the X386 documentation, non-logitech mice do not support
  124. a sample rate.
  125.  
  126.  
  127.  
  128.  
  129.  
  130. XI.G X-APPLICATIONS: Compiling X Programs.
  131. ~~~~~~~~~~~~~~~~~~
  132.  
  133. QUESTION: Does anyone know where I can find the libobz.a library ?
  134.  
  135. ANSWER: This library contained the socket stuff, when X386 V0.1 was
  136. released. Meanwhile it has found it's way into the kernel, so
  137. remove -lobz from the link step in the Makefile.
  138.  
  139.  
  140. QUESTION: I get _setjmp undefined when linking xv from .a files.
  141.  
  142. ANSWER: You are trying to link a program compiled with gcc-2.2.2
  143. and setjmp has changed sice then. Recompile xv from the source
  144. using the latest gcc.
  145.  
  146.  
  147. QUESTION: How do I compile an X application that has an Imakefile?
  148.  
  149. ANSWER:
  150.     Type xmkmf to generate the Makefile.
  151.     Type make.
  152.  
  153.  
  154. QUESTION: gcc complains the X libraries are not found or links static.
  155.  
  156. ANSWER: Check out the -nojump -static options of GCC ... read the GCC FAQ.
  157.     You can tell gcc what directories to search with -L.
  158.  
  159.  
  160.  
  161.  
  162. XI.H BUGS:
  163. ~~~~~~~~~
  164. Restoration of the text screen fails on some hardware.
  165.  
  166. Cant compile Xaw programs without -static in versions x11v1.1 or older.
  167. There is a glitch with the Xaw shared libs ... I haven't seen
  168. this in a while anyway its fixed in newer releases.
  169.  
  170. Color problems with Xega .... fixed in latest version on tsx-11.
  171.  
  172. from chuck@coplex.com (Chuck Sites)
  173. It is possible to run X386 on a Paradise VGA Plus. The X386.0 doc file
  174. has a small misprint.  The Chipset is not pvga. It's pvga1.   Anyway,
  175. under the line in /usr/X386/lib/X11/Xconfig VGA256, add, `chipset "pvga1"`.
  176. You will need a 512k board.  There seems to be a problem with 800x600 mode
  177. that causes pixels to be misplaced in the center 1/3 of the screen. 640x480
  178. works fine.  Anybody out there might have a fix for that? You may want to use
  179. X386mono with 800x600 instead.
  180.  
  181.  
  182. Fix for missing numlock control in xfree86-1.1.
  183. use xmodmap to change the mapping:
  184.   clear mod1
  185.   add mod1 = Alt_L
  186.   keysym Alt_R = Mode_switch
  187.   add mod5 = Mode_switch
  188. David (Dawes)
  189.  
  190. Sources for X11_FAQ:
  191. Steve Kotsopoulos, Peter Hawkins, John Morris, MM. Corsini, K. Balasubramanian.
  192. Direct comments, questions, complaints to krishna at:
  193. balasub@cis.ohio-state.edu
  194.  
  195. XII.    NETWORKING and LINUX
  196. ============================
  197. *** This section should be maintained by Philip Copeland
  198. *** (p_copela@csd.uwe.ac.uk). This first version was built by myself
  199. *** (MM. Corsini) from the original material posted by Phil in c.o.l.
  200. *** I hope the information provided below are readable and useful.
  201. *** Last Update: 16 Nov 92 01:12:45 GMT
  202.  
  203.      **** In the ANSWER part the I/MY stands for P. Copeland ****
  204.  
  205. QUESTION: Where can I find useful information about networking for
  206. Linux ?
  207.  
  208. ANSWER: Join the NET channel on the multi-channel list. The
  209. FAQ/INTRODUCTION written by P. Copeland should be posted every 2
  210. weeks.
  211.  
  212. QUESTION: What do I need to get started ?
  213.  
  214. ANSWER: To use TCP/IP on local ethernet you will need the following
  215.  
  216.    1)      A linux machine with linux kernel 0.98.4 or newer
  217.  
  218.    2)      A WD8003/WD8013 compatible MEMORY MAPPED ethernet card
  219.            but WD8013 is probably the best to use due to its
  220.            electronic reconfiguration rather than jumper settings
  221.            although you'll probably need DOS to set it up
  222.  
  223.            You should note that the kernel will always claim to
  224.            have found a WD8013. If this bothers you, change the printk
  225.            in linux/net/tcp/we.c to reflect your hardware.
  226.  
  227.            *NOTE* no special hardward is needed to communicate with
  228.            yourself
  229.  
  230.            Currently I know of three cards that will work (please tell
  231.            me if there are more) support for the ne2000 is being
  232.            worked on but little has been heard of it's progress
  233.  
  234.            These are the WD8013, WD8003, and the SMC Elite 16.
  235.  
  236.    3)      If you are only going to use 'loopback' mode, you probably
  237.            won't need a card either! A special loopback device is used
  238.            to comunicate with yourself
  239.  
  240.    4)      some tcp/ip software eg telnet/ftp/talk/finger/rcp/
  241.            rsh/various other stuff like daemons etc...
  242.  
  243.    5)      Know the IRQ's of your internal cards.
  244.  
  245.    6)      A lot of coffee and one of those stress relieving
  246.            gadgets you can get in the local market.
  247.  
  248. QUESTION: Where to start ?
  249.  
  250. ANSWER: First off you'll need to rebuild the kernel with networking
  251. compiled into the linux kernel. You do this by removing the '#'s in
  252. linux/net/Makefile on lines 13,14 and 26 if they haven't already been
  253. removed. Next you'll need to calibrate  your network card. Decide what
  254. IRQ setting you'll need for the network card.
  255.     Anyway for those who are frexible, the standard kernel parameters
  256. for this are :-
  257.  
  258.         INT             =       5
  259.         mem             =       D0000
  260.         i/o addr        =       280
  261.         memory start    =       D0000
  262.         memory end      =       D2000   (8K block for 8003, make it D4000
  263.                                          16k for the wd8013 )
  264.  
  265. but these can be changed on lines 12-17 (16,17 being the most important)
  266. of the file linux/net/tcp/Space.c
  267.  
  268. *NOTE* if you have problems with the memory start addr, please get in touch
  269. with bir7@EDU.Stanford.leland
  270.  
  271.         Future versions of the TCP/IP code will be setable at boot time via
  272. ioctl's. For those of you who do not have the wd8013 card, please refer to
  273. the ethernet board documentation on the jumper settings you may have to change.
  274.  
  275.         Right, compile the kernel (You may need to do a 'make clean dep Image')
  276. and hopefully on the next reboot with the new kernel it should detect your card
  277. telling you of the ethernet number it is, and also that a new family of
  278. sockets  (AF_INET) are available.
  279.         If your card is incorrectly inserted (I know you wouldn't) it could
  280. cause all kinds of errors to be reported.
  281.  
  282.         At this stage you have a kernel which supports tcp/ip via the
  283. ethernet board in your machine but knows nothing of networking, that is
  284. where the software in the tcpip suites becomes important as it is this
  285. software that understands networking protocols.
  286.  
  287. QUESTION: What files do I need and setup info ?
  288.  
  289. ANSWER: the 0.8.0/0.8.1 suites have reasonable enough documentation to
  290. get the various working parts out into somewhere useful on your
  291. system, typically /usr/etc/inet and /etc
  292.  
  293. having followed the net install shell script you'll probably find that
  294. it asked some questions that you hadn't a clue about,... well ok lets
  295. look at it.
  296.  
  297.         Enter Ip Address for (your host) (aaa.bbb.ccc.ddd)
  298.  
  299. here you are being asked what network address you would like to be known
  300. as. Ip address are unique numbers so as to identify you machine from
  301. another on a multiuser network.
  302.         Ip numbers are typically of the 0-255.0-255.0-255.0-255 range
  303. so valid answers are 243.123.4.23 or 192.35.173.3 etc but 324.234.545.2
  304. is completely wrong.
  305.  
  306.         Enter Net Address for (your hostname) (aaa.bbb.ccc.0)
  307.  
  308. Here you are being asked for your subnetwork address.
  309. A quick way of getting the question right is to type in whatever you
  310. have for your ip address but make the last number 0 eg if my ip address
  311. was 135.56.33.155, my 'safe' Net address would be 135.56.33.0
  312. 0.0.0.0 means the whole world and is probably what slip people shoul use.
  313.  
  314.         Enter Router Address for (your hostname) (aaa.bbb.ccc.ddd)
  315.  
  316. Routers tend to have 2 ethernet boards in them whith differing network
  317. numbers for them so that they can 'bridge' between different numbered
  318. networks, eg you could not talk directly to a ip address of 192.35.173.12
  319. from an ip address of 192.35.175.15 but a machine in the middle with
  320. two ip address 192,35.173.4 and 192.35.175.3 can 'collect' the data from
  321. the xxx.xxx.173.xxx network and transfer it to the xxx.xxx.175.xxx network
  322. All we have to do here is stick in the ip address of the local router
  323. in this case it would be 192.35.173.4 (clear as mud I know but it's as good
  324. as it gets) If you don't have a router,... just stick in 0.0.0.0 meaning
  325. don't route anything.
  326.  
  327.         Enter Domain name for (your host)
  328.  
  329. This isn't too bad, domain names are 'convenient' labels eg uwe.ac.uk
  330. is the domain name that appends to all the machines on site so that a sun
  331. called csd would be known as csd.uwe.ac.uk
  332.  
  333.         Name Server for Domain (aaa.bbb.ccc.ddd)
  334.  
  335. If your networked to the local Uni/technical collage your in luck and it
  336. shoul be able to serve you with a name server service, find out from your
  337. local network controller what machine distributes the service. If you are
  338. unlucky enough NOT to have a nameserver, just stick in your own IP address,
  339. you'll just have to run your own nameserver.
  340.  
  341. Ok time for a quick check of what you *SHOULD* have
  342. in /usr/etc/inet
  343.  
  344. config          - This sets up the ethernet ip tables
  345. inetd           - Daemon process that invokes other network daemons
  346. inetd.conf      - Configuration file for inetd about the other daemons
  347. install.net     - The semi automatic script I just talked about
  348. named-xfer      - Used for updating the nameserver records
  349. named.reload    - used to load in the named
  350. named.restart   - user to stop and restart the named process
  351. rc.net          - a network rc file called from /etc/rc.local from /etc/rc!
  352. services        - a file specifying what 'port' numbers certain services are
  353.                   available on
  354. telnetd         - daemon for connecting reqesting external sites to your
  355.                   machine for interactive logins
  356. named           - the nameservice daemon
  357.  
  358.  
  359. QUESTION: What is DNS ?
  360.  
  361. ANSWER: DNS stands for Domain Name System.  It doesn't rely on a
  362. single large table; it is a distributed database system that doesn't
  363. bog down as the  database grows. DNS currently provides information on
  364. approximately 700,000 hosts. DNS also guarentees that the new host
  365. information will be disseminated  to the rest of the network as it is
  366. needed.
  367.  
  368. QUESTION: What are the configuration files for the DNS nameserver; and
  369. how can I fix them ?
  370.  
  371. ANSWER: DNS configuration reqires that a number of files be edited in
  372. the case of Linux these files are minimally (resolv.conf can be
  373. optional)
  374.         /usr/etc/inet/
  375.                 resolv.conf
  376.         or
  377.                 named.boot
  378.                 a_hosts_table (normally called named.hosts)
  379.  
  380. named.boot:     domain  uwe.ac.uk
  381.                 primary uwe.ac.uk       /usr/etc/inet/a_hosts_table
  382.  
  383. resolve.conf:   domain          uwe.ac.uk
  384.                 nameserver      192.35.173.2
  385.  
  386. a_hosts_table:  @       IN      SOA     slave.uwe.ac.uk. \
  387. root.slave.uwe.ac.uk. (
  388.                                 1.1     ;serial
  389.                                 3600    ;refresh every 10 hours
  390.                                 300     ;retry every 6 minutes
  391.                                 36000000;expire after 1000 hours
  392.                                 3600    ; default dtl is 100 hours )
  393.                         IN      NS      slave.uwe.ac.uk.
  394.                 slave   IN      A       192.35.173.2
  395.                 hal     IN      A       192.35.173.1
  396.                 zen     IN      A       192.35.173.30
  397.                 .
  398.                 .
  399.                 .
  400.                 mother  IN      A       192.35.173.69
  401.  
  402.  
  403. For most people, a nameserver will be available in which case the only
  404. file really needed is resolv.conf which would contain only the domain
  405. name of the site and a nameserver ip address to point to all the named
  406. functions are thus the responsibility of the nameserver and not your
  407. machine (crafty huh?)
  408.         Now unfortunately there are those of us that were just plain born
  409. unlucky and had to RTFM so,... where a nameserver is not available it is
  410. possible to run a nameserver service on your local machine.
  411.         The following is a list of flies that you will eventually need
  412. although just named.boot and a_hosts_table will suffice
  413.  
  414.      named.boot:     Sets general named parameters and points to the
  415.                      sources of the domain database information used
  416.                      by this server. The sources can be local disks or
  417.                      remote servers.
  418.      named.ca:       Points to the root domain servers
  419.      named.local:    Used to locally resolve the loopback address
  420.      named.hosts:    The zone info file that maps host names to IP addresses
  421.      named.rev:      the zone file for the reverse domain that maps IP
  422.                      addresses to host names (you'll prob never touch it
  423.                      so i'm going to skip it's description unless people
  424.                      get upset enough to lynch me)
  425.  
  426.  
  427. QUESTION: What is NFS ?
  428.  
  429. ANSWER: NFS stands for Network Filing System.
  430. Network filing systems are convenient mechanisms which allow your
  431. machine access to more disk space that it actually has by 'borrowing'
  432. disk space from another networked machine for either sharing of common
  433. data or if allowed, the storing of data generated by your machine.
  434.         NFS is still in alpha testing and has the unfortunate handicap
  435. of not being able to run binaries over the interface due to mmap
  436. support not being available at the moment but shell scripts can be run.
  437.         NFS has several benifits,
  438.  
  439.     1)      it reduces local disk storage requirements because
  440.             a network can store a single copy of a directory, while
  441.             the directory continues to be fully axcessible to everyone
  442.             on the network.
  443.     2)      NFS simplifies central support tasks, becaue files can be
  444.             updated centrally, yet be available throughout the network
  445.     3)      NFS allows users to use familiar UNiX commands to manipulate
  446.             files with rather than learning new ones. There is no need
  447.             to use rcp/tftp/ftp to copy files, just 'cp' will do
  448.  
  449. NFS is controlled by several files
  450.  
  451.         /etc/exports
  452.         /usr/etc/inet/rc.net
  453.  
  454. The /etc/exports file allows your machine to decide what local
  455. filesystems it will allow remote clients to NFS mount and decide what
  456. access those clients should have to your filespace.
  457.  
  458. The /usr/etc/inet/rc.net file is used to start the named services and nfs
  459.  
  460. QUESTION: What are the most common trouble with the Linux Networking ?
  461.  
  462. ANSWER: One of the most common complaints requards the config command
  463. what isn't often noted is that this has to be recompiled from the 0.8.1
  464. sources (available currently on tsx-11.mit.edu: as
  465. /pub/linux/ALPHA/tcpip/tcpip-0.8.1.tar.Z). Another problem that crops
  466. up is that some binaries that are distributed requires libc.2.2.2 to
  467. be present (mine I've no idea what version/wher it came from but it's
  468. 173060 bytes long if it helps!)
  469.         Other people think that it's their version of libraries that
  470. cause the problem but can't find the source code for the various utils
  471. to recompile. Well sorry folks you are out of luck, the source code
  472. for those utils like ftpd and inetd are jealously held back because
  473. they are buggy and full of ugly hacks so rather than have the net
  474. flooded with complaints, they have been compiled into binary form and
  475. shoved out the door with innocent looks about them. Of note are inetd
  476. and named from the BSD sources, someone needs to port them as the
  477. current ones are erm.. well not really inetd/named. A new telnetd will
  478. probably be available after the kernel pty's are fixed which looks as
  479. though it'll break a lot of ioctl code.
  480.  
  481. QUESTION: Any tricks that can help me to setup my system ?
  482.  
  483. ANSWER:Several things that can help
  484.  
  485.       1)      upgrade your kernel to the latest one that you can grab
  486.               a copy of (currently at time of writting 0.98.4)
  487.       2)      join the NET mail channel, you can learn an awful lot
  488.               from the guys on this channel (like the various new
  489.               copyrighted techniques for tearing out your hair)
  490.       3)      try and upgrade your C compiler and libraries to at least
  491.               version 2.2.2d7
  492.       4)      binary distributions of various network probrams can be
  493.               found on sunsite.unc.edu,.. always read the README files
  494.               they are there for a reason! (personal show/contacts/etc..)
  495.       5)      Depending on your type of problem, contacting the author
  496.               of the software or the person who ported the software would
  497.               be a better choice.
  498.       6)      Complain bitterly to me if I haven't covered your problem
  499.               and I'll get it sorted for the next FAQ
  500.  
  501. Cast of this section
  502. ====================
  503.  
  504. Ross Biro       -       Without whom all this wouldn't be possible
  505.                         and who pointed out holes in my documentation.
  506.                         Also contributed the history of tcp/ip on linux
  507.                         after he saw my rather perverted view of it.
  508.  
  509. Mitch DSouza    -       Constant alpha tester. Also pointed out mistakes
  510.                         and made critical and helpfull suggestions (like
  511.                         getting a spell checker). Also gave me his Tel No.
  512.                         which I used to annoy him with.
  513.  
  514. Rick Sladkey    -       The current Author of the NFS client server code
  515.                         who with the help of Doug Quale repatched the
  516.                         kernel to support networking filesystems.
  517.  
  518. The pioneers    -       Mentioned in the history of TCP/IP 0.8.[01] by
  519.                         Ross earlier in this FAQ
  520.  
  521. The supporting  -       You know who you are (probably, depending on how
  522. extras                  much virtual beer you had last night) for contributing
  523.                         to the network code.
  524.  
  525. Linus Torvalds  -       The elusive ecentric UNiX kernel coder who probably
  526.                         burns more CPU time on compiling than anyone else
  527.                         Here's to a long and healthy kernel development
  528.                         program and a Nobel equiv award for his efforts.
  529.  
  530. Philip Copland  -       The only sad person to take on the FAQ because I was
  531.                         getting annoyed at the number of 'petty' tcp/ip code
  532.                         problems being asked on the net. Besides of which I
  533.                         wanted to give something useful towards Linux which
  534.                         I've used since 0.10 (does this make me a vetrian?)
  535.  
  536. XIII. EMACS for LINUX
  537. =====================
  538. *** This section is maintained by Rick Sladkey (jrs@world.std.com)
  539. *** Last Update November 1992.
  540.  
  541. XIII.A. GENERAL INFORMATION
  542. XIII.B. GNU EMACS for LINUX
  543.  
  544. XIII.A. GENERAL INFORMATION
  545. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  546.  
  547. This is a short list of Frequently Asked Questions about GNU Emacs
  548. under Linux.  It does not address general questions about Emacs which
  549. are not Linux specific.  For general help about Emacs, 1) learn to use
  550. and read the online documentation, 2) read the real Emacs FAQ found in
  551. emacs/etc/FAQ, and 3) read the newsgroup gnu.emacs.help.
  552.  
  553.                                         Rick Sladkey <jrs@world.std.com>
  554.  
  555. XIII.B. GNU EMACS for LINUX
  556. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  557. QUESTION: Does Linux Emacs use the shared libraries?
  558.  
  559. ANSWER: Yes.  It wasn't easy.  If you have any problems with them let
  560. me know. Also contact me if you would like static binaries.
  561.  
  562. QUESTION: What version of the compiler was used?  Which shared libaries?
  563.  
  564. ANSWER: This describes version of GNU Emacs 18.59 for Linux 0.97 and above
  565. compiled with GCC 2.2.2d7 using the libc.so.4.1 and libX11.so.2.1 shared
  566. libraries.
  567.  
  568. QUESTION: Which files do I need?
  569.  
  570. ANSWER:
  571. emacs-18.59a.tar.Z        this file, sample default.el and diffs
  572.                 for this version, the eight-bit patch,
  573.                 iso-latin-1.el and eight-bit.el
  574. emacs-etc-18.59a.tar.Z        emacs support programs and misc info
  575. emacs-bin-18.59a.tar.Z        shared emacs binary and its doc file
  576. x11emacs-bin-18.59a.tar.Z    shared x11emacs binary and its doc file
  577.  
  578. QUESTION: How do I install them?
  579.  
  580. ANSWER: According to Linux convention, cd to /usr and untar the
  581. packages.
  582.  
  583. QUESTION: Does Linux Emacs support eight-bit input/output?
  584.  
  585. ANSWER: Yes.  It is new with this version.  It uses the so-called
  586. "ctl-arrow" patch.  See the file README.8bit for more information.
  587.  
  588. QUESTION: How much disk space is required?
  589.  
  590. ANSWER: Anywhere from 1 to 15 Meg.  Emacs works reasonably well with no
  591. support files at all.  With a judicious selection from lisp/*.elc and
  592. etc/*, quite a lot can be done using only 2 Meg.  If you want all of
  593. lisp/*.elc, info/*, and etc/* this will require 4 to 6 Meg.  If you
  594. unpack the whole source you need 8 Meg.  If you collect info files
  595. like rare coins and install a lot of big lisp packages then Emacs may
  596. need its own partition. :-)
  597.  
  598. QUESTION: Why does Emacs crash under Linux 0.98 patchlevel 4 or higher?
  599.  
  600. ANSWER: It crashes becuase of the a new 256-bit wide fd_set structure.
  601. Sometimes progress requires sacrifice.
  602.  
  603. QUESTION: Why can't Emacs find its support files anymore?
  604.  
  605. ANSWER: This is because older versions of Emacs were compiled with
  606. "/usr/local/emacs" based paths.  The current version is compiled with
  607. "/usr/emacs" paths.  If you have a previous installation, just "mv
  608. /usr/local/emacs /usr" and you're done.  If you can't bear to part
  609. with the "/usr/local" pathnames because of inertia then do "ln -s
  610. /usr/local/emacs /usr" and you can have them both.
  611.  
  612. QUESTION: How do I get Emacs to recognize my cursor keys?
  613.  
  614. ANSWER: Simple.  Don't use them. :-)  Seriously, there are as many
  615. ways to do this are there are elisp hackers but the preferred way is
  616. to follow the pattern set by the other terminal definition files in
  617. emacs/lisp/term/*.el.  For just arrow keys you can just copy vt220.el
  618. to console.el and that's it.  For function keys and the others see
  619. the sample default.el included with this file.
  620.  
  621. QUESTION: What packages are particularly useful under Linux?
  622.  
  623. ANSWER: Because info format is the documentation standard of the GNU
  624. project and just about everything except the kernel comes from FSF,
  625. you will find that Dave Gillespie's enhanced info package is very
  626. useful.  It allows multiple info directories, space bar paging, and
  627. supports compressed info files. Please learn to use info.  Imagine
  628. Unix life without man.
  629.  
  630. Others that I highly recommend are Sebastian Kremer's enhanced
  631. dired directory editor, Dave Gillespie's calc calculator, Masanobu
  632. UMEDA's gnus for usenet news, and Kyle Jone's vm for mail.
  633.  
  634. All can be found in the OSU Emacs archive.  See the real FAQ for more
  635. details.
  636.  
  637. QUESTION: Does Linux Emacs use the shared libraries?
  638.  
  639. ANSWER: Yes.  It is very delicate.  Emacs uses its own malloc and the
  640. library uses the standard one.  Everything works as long as the two
  641. never meet.
  642.  
  643. QUESTION: Does Linux Emacs support the X Window System?
  644.  
  645. ANSWER: Yes.  However, there are two binaries.  One without X support
  646. (about 485k) and one with X support (about 515k).
  647.  
  648. QUESTION: Do I need both Emacs if I don't always use X?
  649.  
  650. ANSWER: No.  The X11 version works equally well inside or outside of
  651. X.  If you get the message "Check your DISPLAY variable" it means that
  652. you have defined DISPLAY in your ~/.profile (or whatever).  You can
  653. fix this by starting Emacs with 'emacs -nw' or by removing the DISPLAY
  654. variable from your ~/.profile and putting it in you ~/.xinitrc.
  655.  
  656. QUESTION: Why doesn't Emacs use the settings in my
  657. .Xdefaults/.Xresources file?
  658.  
  659. ANSWER: You are probably using the word "emacs" and your X version of
  660. emacs is called x11emacs.  Either use the word "Emacs" in your resource
  661. file or rename x11emacs to emacs.  See above question on why this
  662. is reasonable.
  663.  
  664. QUESTION: I read about some menu that is supposed to pop up when I
  665. press some mouse button.  Does this work with Linux Emacs?
  666.  
  667. ANSWER: Yes.  This requires XMenu support to be compiled in.  Former
  668. versions did not support it because it did not work correctly.
  669.  
  670. QUESTION: Sometimes Emacs crashes with a SIGALRM message.  What's
  671. wrong?
  672.  
  673. ANSWER: You need to upgrade to a newer version of bash.  Some older
  674. versions of bash were compiled with buggy libraries that caused bash
  675. to send a SIGALRM to its parent in some circumstances.  Recent
  676. versions do not exhibit this problem.
  677.  
  678. QUESTION: Why does Emacs always put me in the root directory?
  679.